package com.small.nacos.naming.push;

import com.small.nacos.naming.core.Service;
import org.springframework.context.ApplicationEvent;

/**
 * @Author zhoujin
 * @Date 2022/11/2 10:37
 */
public class ServiceChangeEvent extends ApplicationEvent {

    private Service service;

    public ServiceChangeEvent(Object source, Service service) {
        super(source);
        this.service = service;
    }

    public Service getService() {
        return service;
    }
}
